﻿function DataGridButtons(RowID, EditClientID, DeleteClientID) {
    if (document.getElementById('rijkey').value) {
        document.getElementById('rij' + document.getElementById('rijkey').value).style.backgroundImage = 'url(\'images/blank.gif\')';
    }
    document.getElementById('rij' + RowID).style.backgroundImage = 'url(\'images/DataGridSelection.gif\')';
    document.getElementById('rijkey').value = RowID;
    document.getElementById('idkey').value = document.getElementById('veld' + RowID).value;
    document.getElementById(EditClientID).disabled = false;
    document.getElementById(DeleteClientID).disabled = false;
    return true;
}